Fixed a couple small bugs.

Fixed calling of the filelist if it only has one element.
Fixed the mylib function call.