cut off file extensions