Refactor and mkdir method
Enable allow() to alter any parameter before processing
Refactor, add onIncomingFile hook