Working on Directory vs. File Input