Fixed sample user file function.