adding file selection to table view in file view
minor editing
adding shape code from previous project