new file functionality added