Fixed Ubuntu file processing