Removed unnecessary code
Create new file functionality added