fixed bug where file automatically saved with a space before the first item and added a method to my POST form
separated html from php and refactored using alternative syntax