added file widget for file field.

Upload file to amazon only if file was specified.