File attribute check sample add