Ok found the problem, it wasn't the code itself, but the way the journal file was being created. The journal file is being created in code also based on a series of parameters, then processed, I had to copy the newly created text file to then process it. The newly created file must contain a lock or something that was blocking Revit from loading it...
↧