Updated the documentation for file detection