fileLoader snippet refactored to obj