added username variable to run fileselect as currently logged in user