Fixed missing argument in onFileControl callback