more work on adding file elements