remove file extension from filename, fix deps