Implementation for file listing