This reverts commit b66e224d79. if FILE variable contains bash variables (such as $HOME) they are not resolved and script fails (because of 'set -euo pipefail')
b66e224d79