Fixed local removal of files