Fix #261

Allow arrays of files to work correctly