On Sun, 15 Nov 2015, leledumbo wrote: >> How can I check if the file is locked before reading its contents? > > Just handle the exception. Doing nothing in the handler is perfectly fine. It is the only possible option. Michael.