get the file unless file is had