enable file name field only if selected a file