Fixed bug for files without extension