Fixed filename resolution problem