where is the ]']' being added to? the end of the filename or the end of the code?