If the /UserData/ folder doesn't exist, the methods of this file fails to work. Creating the folder before hand prevents this issue.