#!/bin/sh
file="/tmp/myfile" 

while read line; do
  echo $line
done < "$file"