relax file type detection