Check file exists for selectfile