Fix fetching file