Added documentation to the Methods of File.java and changed the return

types for Published, updated methods to Date type. As it is date type in
other services. Work in Progress.