I would move these to FileSystemHelpers, and add a comment explaining why they are needed.