Fixed the change to how to get the file