return constant value if the file is empty;replace '+' with '-'