working on fetching file from locally