Fixed uploading while editing, added file form