Selecting all files and applying actions can randomly fail