Requires files based on a pattern in a robust and optimistic manner.