fixed a bug where you had to provide the prefix for all files