MINOR: Used setXXX() methods when saving Files