Completed file service implementation & unit tests for the functionality