Adds some file name error handling to eportfolio API