Added helper constructor to FileService