filter out lock files