This should be modeled after above commands to skip locked files etc.