Fixing problem with not finding files