added support for relative file without extension