Fixed filename to onResult and fixed API key on FPFile

Fixed to correctly return "filename" and added directly the "api key" to FPFile.java since the officially given method does not work.