Fixed C-GET service to support files; added utility method to write file meta information