Your proposal does not work, because 'database.sqlite' is a file but 'media' and 'whoosh...' are directories.