make sure there are no spaces before or after file name