Port middleware/load_file.clj