Implemented "open file"