First I've tried chmod 777 file_name.sh, but it didn't work. My problem is with #!usr/bin/bash and after changing it with #!bin/bash the file got executed.
chmod 777 file_name.sh
#!usr/bin/bash
#!bin/bash