DEV: Changed file load step to use context manager