add absolute path to flag file