I am developing a program that needs to check whether a user-submitted code (with FileOutPutStream) is doing the close() function. For this, I am trying to use the FileChannel l