need to make sure is file is selected