file type no longer passed as a pointer