Added new file functionality.