corrects behavior of file extension parser when no file extension is present