check if file is set