ADD: Additional file checks to fileUploadController
ADD: Additional check for checkDirAndCreateIfMissing in FileManager
TASK: Some code formattings