Loads in files using `readRDS()` for .rds files and `data.table::fread()` for all other file types.

load_file(file_path)

Arguments

file_path

Path to file to load in.

Value

Output of `readRDS()` for .rds files and `data.table::fread()` for all other file types.