added condition determines if user file exists...but has errors. so need to fix that.