Made file_select work maybe

All work in this branch is untested