Made File serializable, untested.