When you are writing to a filer, you do not need to perform intermediate error checking. Once an error condition is encountered, the filer returns the same error status to all write requests until the status is cleared by the filer.
Every filer class has a getFilerStatus() function that returns the filer status. When you are reading in a file, you may want to check the filer status if you rely on success or failure for your next step.