moved list files
added command-line support