Added passing user data file as argument