$file_ext to first if-query