can you get file path from Credentials? If so, then I think it is better idea then predefined value depending on internal code of class ( especially when you cannot notice it due to File.exists? )