fixed removing local files too