Implement --file-only setting