check if file exists first
ignore built files