Local mode automatically works on folders and files