Version 0.04: forgot to import basename