func getFolder(withUrl: String) -> Folder? {
        for folder in folders where folder.url == withUrl {
            return folder
        }