fixed issue with listen returning arrays instead of single files