Since it is your application that says the error message you should be able to instrument it and make it tell more about the problem: where in the code does the error occur, does the app even find the file or does the error mean that it for some reason cannot open the file for reading, or that it thinks that the file is of a wrong format, etc.