FIX: if no file name, display file type