addFile(_path = '', _data = {})
    {
        // Errors
        if(typeof _path !== 'string')
        {
            console.warn('addFile: _path should be a string')
            return false
        }
        if(typeof _data !== 'object')
        {
            console.warn('addFile: _data should be an object')
            return false
        }

        // Set up
        const path = this.cleanPath(_path)
        const pathParts = path.split('/')
        const filePart = pathParts.pop()

        // Create folder
        const folder = this.addFolder(pathParts.join('/'))

        // Create file
        const file = {
            name: filePart
        }

        // Add data
        for(const dataKey in _data)
        {
            const data = _data[dataKey]
            file[dataKey] = data
        }

        // Save
        folder.files.push(file)

        // Update counts
        this.updateCounts()

        return file
    }
Add a file
Will create folders if needed
@param {String} _path - Path to the folder (start with `./`)
@param {Object} _data - Properties to add to the file
@returns {Object} Created file