Update Errors, FileHandler, FileHandlerSpec

* Changed some errors in Errors object to functions so that they can output more meaningful error messages.
* Changed FileHandler to use new error functions.
* Adapted FileHandlerSpec to new error functions.
* Implemented tests for the scenario when getSourceFiles is called with 2 files as arguments.