Handle file meta, fix #1