fixed up getFile syntax errors