Dont set command inside the files loop