Fixed weird issue on files with no extensions