spelling and moved wrapper to take in file