create files with the correct file type (except REL)