Report question

Question: How to test if a file is currently being written to