Changed api to run off one file! :D